#!/bin/sh
#
# Copyright (c) 2005 by 4Front Technologies
# All rights reserved.
#
#

while read src
do
	if [ -f $src ]
	then
		if  /usr/sbin/pkgchk -p $src
		then
			rm -f $src
		else
			echo "not removing $src"
		fi
	fi
done
exit 0
